package com.example.iot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.iot.entity.PatchUpgrade;
import com.example.iot.service.PatchUpgradeService;
import com.example.iot.mapper.PatchUpgradeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 18364
* @description 针对表【patch_upgrade】的数据库操作Service实现
* @createDate 2023-09-26 13:35:53
*/
@Service
public class PatchUpgradeServiceImpl extends ServiceImpl<PatchUpgradeMapper, PatchUpgrade>
    implements PatchUpgradeService{
    @Autowired
    PatchUpgradeMapper patchUpgradeMapper;
    @Override
    public PatchUpgrade selectByDevID(String id) {
        PatchUpgrade patchUpgrade=patchUpgradeMapper.selectByDevID(id);
        return patchUpgrade;
    }

    @Override
    public PatchUpgrade selectById(int id) {
        PatchUpgrade patchUpgrade=patchUpgradeMapper.selectById(id);
        return patchUpgrade;
    }
}




